<?php (defined('BASEPATH')) OR exit('No direct script access allowed');

class MY_Form_validation extends CI_Form_validation
{
    public $CI;

    function __construct($rules = array())
    {
        parent::__construct($rules);
    }

    // function set_error_message($field, $message)
    // {
    //     if(! isset($this->_field_data[$field]))
    //     {
    //         $this->_field_data[$field]['postdata'] = '';
    //     }

    //     $this->_field_data[$field]['error'] = $message;

    //     if ( ! isset($this->_error_array[$field]))
    //     {
    //         $this->_error_array[$field] = $message;
    //     }
    // }
}
